<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['account'] = array(
		'columns'=>array(
				'account_id'=>array('type'=>'number','pkey'=>true,'extra' => 'auto_increment',),
				'account_type'=>array('type'=>'varchar(30)'),
				'login_name'=>array('type'=>'varchar(100)','label' => '账户名称','comment' => '账户名称','is_title'=>true,'required' => true,'in_list' => true,      'default_in_list' => true, ),
				'login_password'=>array('type'=>'varchar(32)','required' => true,),
				'disabled'=>array('type'=>'bool','default'=>'false'),
				'createtime'=>array('type'=>'time'),
		),
		'index' => array (
				'account' => array ('columns' => array ('account_type','login_name'),'prefix' => 'UNIQUE'),
		),
		'engine' => 'innodb',
);
